package com.bumptech.glide.module;

import android.content.Context;
import android.support.annotation.NonNull;

import com.bumptech.glide.GlideBuilder;

/**
 * An internal interface, to be removed when {@link GlideModule}s are removed.
 */
@Deprecated
interface AppliesOptions {
    /**
     * Lazily apply options to a {@link GlideBuilder} immediately before the Glide
     * singleton is created.
     *
     * <p> This method will be called once and only once per implementation. </p>
     *
     * @param context An Application {@link Context}.
     * @param builder The {@link GlideBuilder} that will be used to create Glide.
     */
    void applyOptions(@NonNull Context context, @NonNull GlideBuilder builder);
}
